<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/12 0012
 * Time: 下午 2:56
 */

namespace Jinxing\Admin\Http\Requests\Admin\Common;

use Jinxing\Admin\Http\Requests\Request;

class DeleteImageRequest extends Request
{
    public function rules()
    {
        return [
            'url' => 'required|string|min:1',
        ];
    }

    public function attributes()
    {
        return ['url' => '文件地址'];
    }
}
